import { createStore } from 'vuex'
declare interface State {
    count:number
} 
export const store = createStore<State>({
    state(){
        return {
            count: 0
        }
    },
    mutations:{
        increase(state, value){
            state.count = value
        }
    }
})